package com.cnzhy.controller;

import com.cnzhy.annotation.JwtToken;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhaoyan5
 */
@RestController
@RequestMapping("jwt")
public class JwtTokenController {

    @GetMapping("token")
    public String list(@JwtToken String uid) {
        return uid;
    }

}
